<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/ajax.js"></script>
    <script>
        function eixt(){
            get("exit.s",function (res){
                alert(res.msg);
            });
        }
    </script>
</head>
<body>
<h1>hello</h1>
<button type="button" onclick="eixt()">退出登录</button>
</body>
</html>